package com.bussanq.group.ssmtest.service;

import com.bussanq.group.ssmtest.domain.User;
import com.bussanq.group.ssmtest.exception.UserCanNotBeNullException;
import com.bussanq.group.ssmtest.exception.UserNameCanNotBeNullException;
import com.bussanq.group.ssmtest.exception.UserPwdCanNotBeNullException;
import java.util.List;
/**
 * Created by Administrator on 2016/9/25.
 */
public interface UserService extends BaseService<User> {

    void add(User user) throws Exception;
    User findUser(User user) throws Exception;
    void updateLoginSession(String sessionId, String LoginId);
    List<User> findAll(int pageNum, int pageSize);
}
